package com.four.reimbursemanage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 外聘人员费申请对象 outmember_apply
 * 
 * @author lwy
 * @date 2024-09-23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("outmember_apply")
public class OutmemberApply
{

    /** 编号 */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /*工号*/
    private String number;

    /** 员工姓名 */
    private String name;

    /** 日期 */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date outdate;

    /** 费用 */
    private Double cost;

    /** 签领人签字 */
    private String is_sign;

    /** 费用单号 */
    private String cost_number;

    /** 总费用 */
    private Double cost_sum;

    /** 审批状态 */
    private Integer state;


}
